package com.lilanz.microservice.express.entity;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true) // 链式写法 实例对象
public class ResultRoute {
    private Integer code;
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String orderId;
    private String message;

    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private JSONObject routeMessgae;//这个字段用于返回此运单的路由信息
    @JsonInclude(JsonInclude.Include.NON_NULL)//为null不返回给前端
    private String mailno;
}
